When the Sound Manager calls your SoundComponentGetInfo routine with the siCompressionFactor selector, you need to return a pointer to a compression information record, which is defined by the CompressionInfo data type.
typedef struct {
long recordSize;
OSType format;
short compressionID;
short samplesPerPacket;
short bytesPerPacket;
short bytesPerFrame;
short bytesPerSample;
short futureUse1;
} CompressionInfo, *CompressionInfoPtr, **CompressionInfoHandle;
| Previous | Chapter contents | Chapter top | Section top | Next |